package com.xtkj.superclub_shop.client;

import com.xtkj.commons.JsonResult;
import com.xtkj.superclub_entity.entity.user.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author lizheqi
 * @create 2019-12-30-17:13
 */
@FeignClient("SUPERCLUB-USER")
public interface IUserClient {
    @RequestMapping(value = "/user/getUser",method = RequestMethod.GET)
    @ResponseBody
    JsonResult getUser(@RequestBody User user);//获取用户
}
